package com.woniuxy.productdao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("alone_course")
public class AloneCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程ID
     */
    @TableId(value = "coach_product_id", type = IdType.AUTO)
    private Integer coachProductId;

    /**
     * 课程次数
     */
    @TableField("coach_product_count")
    private Integer coachProductCount;

    /**
     * 类型ID
     */
    @TableField("course_type_id")
    private Integer courseTypeId;

    /**
     * 教练ID
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 教练头像
     */
    @TableField("coach_avatar")
    private String coachAvatar;

    /**
     * 教练姓名
     */
    @TableField("coach_name")
    private String coachName;

    /**
     * 教练介绍
     */
    @TableField("coach_remark")
    private String coachRemark;

    /**
     * 课程时长
     */
    @TableField("coach_duration")
    private Integer coachDuration;

    /**
     * 场馆ID
     */
    @TableField("venue_id")
    private Integer venueId;

    /**
     * 状态(0.下架 1.上架)
     */
    @TableField("product_state")
    private Integer productState;

    /**
     * 价格
     */
    @TableField("coach_product_price")
    private BigDecimal coachProductPrice;

    /**
     * 类型名称
     */
    @TableField("course_type_name")
    private String courseTypeName;


}
